package com.example.zyfirst.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.zyfirst.entity.User;
import org.springframework.stereotype.Repository;

/**
 * 在对应的mapper上继承基本的类BaseMapper
 */
@Repository  //代表是持久层
public interface UserDao extends BaseMapper<User> {
    //所有的CRUD操作已经完成了
}
